<div class="fly-panel">
    <div class="fly-panel-title fly-filter">
        <a>最近更新</a>
        <a href="#" class="layui-hide-sm layui-show-xs-block fly-right" id="LAY_goSignin"
           style="color: #FF5722;">去签到</a>
    </div>
    <ul class="fly-list">
        <!--最近更新-->
        {volist name="last" id="data"}
        <li>
            <a href="{:url('home/user/userdetail',['guid'=>$data['user']['PK_UserGuid']])}"
               class="fly-avatar">
                <img src="__PUBLIC__/{$data['user']['Cover']}"
                     alt="资源">
            </a>
            <h2>
                <a class="layui-badge">{$data['category']['Name']}</a>
                <a href="{:url('home/index/detail',['guid'=>$data['PK_ResourceGuid']])}">{$data['Title']}</a>
            </h2>
            <div class="fly-list-info">
                <a href="{:url('home/user/userdetail',['guid'=>$data['user']['PK_UserGuid']])}" link>
                    <cite>{$data['user']['Name']}</cite>
                    <i class="layui-badge fly-badge-vip">{$data['user']['Level']}</i>
                </a>
                <span>{$data['CreateTime']}</span>

                <span title="所需金币"><img src="__IMG__/goldIcon.png"
                                        class="sw-money-icon">{$data['Price']}</span>
                <span class="layui-badge fly-badge-accept layui-hide-xs"
                      title="下载量">{$data['Downloads']}</span>
                <span class="fly-list-nums">
                <i class="iconfont icon-pinglun1" title="评论"></i>{$data['rescomment']|comment_array_to_count}
              </span>
            </div>
            <div class="fly-list-badge">
                <!--
                <span class="layui-badge layui-bg-black">置顶</span>
                <span class="layui-badge layui-bg-red">精帖</span>
                -->
            </div>
        </li>
        {/volist}
        <!--最近更新-->
    </ul>
</div>